﻿
namespace SdmxMl.Common
{
    /// <summary>
    /// ActionType provides a list of actions, describing the intention of the data transmission 
    /// from the sender's side. Each action provided at the dataset or metadataset level applies 
    /// to the entire dataset for which it is given. Note that the actions indicated in the 
    /// Message Header are optional, and used to summarize specific actions indicated with this 
    /// data type for all registry interactions. The "Informational" value is used when the 
    /// message contains information in response to a query, rather than being used to invoke 
    /// a maintenance activity.
    /// </summary>
    public enum ActionType
    {
        /// <summary>Nothing specified as action. </summary>
        Undefined,

        /// <summary>Data or metadata is an incremental update for an existing data/metadata set or 
        /// the provision of new data or documentation (attribute values) formerly absent. 
        /// If any of the supplied data or metadata is already present, it will not replace that 
        /// data or metadata. This corresponds to the "Update" value found in version 1.0 of the 
        /// SDMX Technical Standards </summary>
        Append,

        /// <summary>Data/metadata is to be replaced, and may also include additional 
        /// data/metadata to be appended. </summary>
        Replace,

        /// <summary>Data/Metadata is to be deleted. </summary>
        Delete,

        /// <summary>Informational </summary>
        Information,

    }
}
